package com.dabbo.starship.shared;

import java.rmi.RemoteException;

import com.dabbo.starship.interfaces.CellLocationInterface;

public class CellLocation extends java.rmi.server.UnicastRemoteObject implements CellLocationInterface {

	private static final long serialVersionUID = 5722122573534571303L;

	private int coY = 0;
	private int coX = 0;
	
	public CellLocation() throws RemoteException {
		super();
	}
	
	public CellLocation(int coY, int coX) throws RemoteException {
		this.coY = coY;
		this.coX = coX;
	}
	
	public void setCoY(int coY) throws RemoteException {
		this.coY = coY;
	}
	public int getCoY() throws RemoteException {
		return this.coY;
	}
	
	public void setCoX(int coX) throws RemoteException {
		this.coX = coX;
	}
	public int getCoX() throws RemoteException {
		return this.coX;
	}
	
}
